package com.yunji.cabinet.service;

import com.yunji.cabinet.bo.CabinetSiteListQueryBO;
import com.yunji.cabinet.domain.CabinetSiteDO;

import java.util.List;

/**
 * @version 1.0
 * @Project: yunji-coffee
 * @Package com.yunji.cabinet.service
 * @FileName ICabinetSiteService.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @CreateTime 2024-04-09 18:05:18
 * @Description 货柜网点接口
 * @Modification Author                    History Time			Version				Description
 * --------------------------------------------------------------------------------
 * HuaAo				2024-04-09 18:05:18		1.0					1.0 Version
 * @since JDK 1.8.0_202
 */
public interface ICabinetSiteService {
    /**
     * @return boolean 新增结果
     * @Title create
     * @Desc 新增货柜站点信息
     * @Date 2024-04-10 09:51:23
     * @Param containerSite 货柜站点信息
     */
    boolean create(CabinetSiteDO containerSite);

    /**
     * @return boolean 删除结果
     * @Title delete
     * @Desc 删除货柜站点信息
     * @Date 2024-04-10 09:51:56
     * @Param ids 货柜ID集合
     */
    boolean deleteByContainerIds(Long... ids);

    /**
     * @param ids 网点ID数组
     * @Title selectContainerSiteByIds
     * @Desc 获取网点货柜信息
     * @Date 2024-05-28 19:56:52.392
     * @Return List<ContainerSite> 货柜信息
     */
    List<CabinetSiteDO> searchBySiteIds(Long... ids);

    CabinetSiteDO selectByContainerId(Long containerId);

    List<CabinetSiteDO> search(CabinetSiteListQueryBO site);
}
